package cn.edu.zafu.bigdata.x.wupeng.a;

public class MyDateTest {
    public static void main(String[] args) {
        int m=1;
        int n=m;
        System.out.printf("m=%d,n=%d\n",m,n);
        n=2;
        System.out.printf("m=%d,n=%d\n",m,n);
        MyDate myDate = new MyDate(2024, 9, 18);
        MyDate myDate2 = myDate;
        System.out.printf("MyDate=%s,MyDate2=%s\n",myDate.toString(),myDate2.toString());
        myDate2.setDate(2025, 9, 18);
        System.out.printf("MyDate=%s,MyDate2=%s\n",myDate.toString(),myDate2.toString());


    }
}
